package com.ph.irp.base.assistantmaterial.service;

import java.io.Serializable;
import java.util.List;

import com.ph.irp.model.PBaseAssistantmaterialProductpurpose;

public interface PBaseAssistantmaterialProductPurposeService extends Serializable {
	void addProductpurpose(PBaseAssistantmaterialProductpurpose productpurpose)
			throws Throwable;

	void deleteProductpurpose(String[] productpurposeIds) throws Throwable;

	void updateProductpurpose(
			PBaseAssistantmaterialProductpurpose productpurpose)
			throws Throwable;

	PBaseAssistantmaterialProductpurpose getProductpurposeById(
			Integer productpurposeId) throws Throwable;
	
	List<PBaseAssistantmaterialProductpurpose> getAllProductpurposes() throws Throwable;
	
	List<PBaseAssistantmaterialProductpurpose> getProductpurposesByCode(String productpurposeCode) throws Throwable;
	
	List<PBaseAssistantmaterialProductpurpose> getProductpurposesByName(String productpurposeName) throws Throwable;
	
	List<PBaseAssistantmaterialProductpurpose> getProductpurposesByCodeAndName(String productpurposeCode, String productpurposeName) throws Throwable;

	/*List<PBaseAssistantmaterialProductpurpose> getProductpurposes(
			PBaseAssistantmaterialProductpurpose productpurpose)
			throws Throwable;*/

}
